<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>
{if $title && $catid}
{php $sitelist = getcache('sitelist', 'commons')}
{$title}_{$sitelist[$siteid][name]}
{elseif $catid}
{php $sitelist = getcache('sitelist', 'commons')}
{$catname}_{$sitelist[$siteid][name]}
{else}
{$sitelist[$siteid][name]}_{$sitelist[$siteid][site_title]}
{/if}
</title>
{if !$title && !$catname}
<meta name="keywords" content="{$SEO['keyword']}">
<meta name="description" content="{$SEO['description']}">
{/if}
<script type="text/javascript" src="{JS_PATH}collection.js"></script>
<link href="{CSS_PATH}cstar.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="box">
    <div id="nav">
        <div id="logo">{pc:block pos="logo"}{/pc}</div>
        <div id="nav_r">
            <span class="fl">
                <a href="{APP_PATH}" title="{$SEO['title']}">网站首页</a>
                {pc:content action="category" catid="0" num="25" siteid="$siteid" order="listorder ASC" return="category"}
                {php $CATE = $category}
                {loop $category $r}
                     |<a href="{$r[url]}" title="{$r[catname]}">{$r[catname]}</a>
                {/loop}
                {/pc}
            </span>
            <span class="fr">
                <a href="javascript:void(0)" title="设为首页" onclick="setHomepage('{APP_PATH}')">设为首页</a>
                <a href="javascript:void(0)" title="加入收藏" onclick="addFavor('{APP_PATH}','{$SEO[site_title]}')">加入收藏</a>
            </span>
        </div>
    </div>
    <div id="banner" class="mt8">{pc:block pos="banner"}{/pc}</div>